package com.security.frame.core.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置
 *
 * @author wangjie
 * @version V1.0
 * @date 2019/11/4
 */
@ConfigurationProperties(prefix = "frame.security")
@Getter
@Setter
public class SecurityProperties {

    /**
     * 通用配置
     */
    @Autowired
    private CommonProperties common ;

    /**
     * 验证码配置
     */
    @Autowired
    private ValidateCodeProperties code ;

    /**
     * Social配置
     */
    @Autowired
    private SocialProperties social;

    /**
     * session配置
     */
    @Autowired
    private SessionProperties session;
}
